import embios.interfaces.ITimerMilli;
import embios.kernel.Scheduler;

module App {

    proxy TimerMilli inherits ITimerMilli;
    config Int count = 3;
    
    Int main( Int argc, Char* argv[] );

internal:

    Void reactor( Ptr me, Scheduler.Signal sig );

    struct Module_State {
        Scheduler.Fiber fiber;
        Scheduler.Event event;
        Int count;
    }

}
